package city.spring.modules.medicalstation.doctorsOrderRecord.service;

import city.spring.modules.medicalstation.doctorsOrderRecord.entity.DoctorsOrderRecordEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：医嘱记录
 *
 * @author 谢金婷
 * @date 2020-11-09 17:04:43
 */
public interface DoctorsOrderRecordService extends IService<DoctorsOrderRecordEntity> {
    String CACHE_NAME = "doctors_order_record";

    /**
     * 业务处理：保存一个 <strong>医嘱记录</strong>
     *
     * @param entity 医嘱记录
     */
    void saveDoctorsOrderRecord(DoctorsOrderRecordEntity entity);

    /**
     * 业务处理：修改一个 <strong>医嘱记录</strong>
     *
     * @param entity 医嘱记录
     */
    void updateDoctorsOrderRecord(DoctorsOrderRecordEntity entity);

    /**
     * 业务处理：删除一个 <strong>医嘱记录</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteDoctorsOrderRecord(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>医嘱记录</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteDoctorsOrderRecord(List<String> primaryKeys);
}